//
//  UIImage+XYX.h
//  E-Cycle(XYXMain)
//
//  Created by 象萌cc003a on 17/2/20.
//  Copyright © 2017年 xmcc003a. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImage (Color)
+(UIImage *)loadWithName:(NSString *)name;

+(UIImage *)imageWithColor:(UIColor *)color size:(CGSize)size;

+(UIImage *)imageWithColor:(UIColor *)color size:(CGSize)size corner:(CGFloat)radius;

- (UIImage*)transformWidth:(CGFloat)width
                    height:(CGFloat)height;

+ (UIImage *)imageWithColor:(UIColor *)color;

@end
